package com.ruoyi.ylxt.ypxx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品信息对象 ylxt_ypxx
 *
 * @author huacai
 * @date 2025-01-13
 */
public class Ypxx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品信息 */
    private String ypxxId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String ypName;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String ypBm;

    /** 关键字 */
    @Excel(name = "关键字")
    private String gjz;

    /** 单位 */
    @Excel(name = "单位")
    private String dw;

    /** 换算量 */
    @Excel(name = "换算量")
    private String hsl;

    /** 处方价格 */
    @Excel(name = "处方价格")
    private BigDecimal cfJg;

    /** 库存量 */
    @Excel(name = "库存量")
    private Integer kcl;

    /** 预警值 */
    @Excel(name = "预警值")
    private Integer yjz;

    /** 状态 */
    @Excel(name = "状态")
    private String zt;

    /** 药品类型 */
    @Excel(name = "药品类型")
    private String ypLx;

    /** 处方类型 */
    @Excel(name = "处方类型")
    private String cfLx;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String scCj;

    /** ID是否存在 */
    @Excel(name = "ID是否存在")
    private String idWhere;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    public void setYpxxId(String ypxxId)
    {
        this.ypxxId = ypxxId;
    }

    public String getYpxxId()
    {
        return ypxxId;
    }
    public void setYpName(String ypName)
    {
        this.ypName = ypName;
    }

    public String getYpName()
    {
        return ypName;
    }
    public void setYpBm(String ypBm)
    {
        this.ypBm = ypBm;
    }

    public String getYpBm()
    {
        return ypBm;
    }
    public void setGjz(String gjz)
    {
        this.gjz = gjz;
    }

    public String getGjz()
    {
        return gjz;
    }
    public void setDw(String dw)
    {
        this.dw = dw;
    }

    public String getDw()
    {
        return dw;
    }
    public void setHsl(String hsl)
    {
        this.hsl = hsl;
    }

    public String getHsl()
    {
        return hsl;
    }
    public void setCfJg(BigDecimal cfJg)
    {
        this.cfJg = cfJg;
    }

    public BigDecimal getCfJg()
    {
        return cfJg;
    }
    public void setKcl(Integer kcl)
    {
        this.kcl = kcl;
    }

    public Integer getKcl()
    {
        return kcl;
    }
    public void setYjz(Integer yjz)
    {
        this.yjz = yjz;
    }

    public Integer getYjz()
    {
        return yjz;
    }
    public void setZt(String zt)
    {
        this.zt = zt;
    }

    public String getZt()
    {
        return zt;
    }
    public void setYpLx(String ypLx)
    {
        this.ypLx = ypLx;
    }

    public String getYpLx()
    {
        return ypLx;
    }
    public void setCfLx(String cfLx)
    {
        this.cfLx = cfLx;
    }

    public String getCfLx()
    {
        return cfLx;
    }
    public void setScCj(String scCj)
    {
        this.scCj = scCj;
    }

    public String getScCj()
    {
        return scCj;
    }
    public void setIdWhere(String idWhere)
    {
        this.idWhere = idWhere;
    }

    public String getIdWhere()
    {
        return idWhere;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ypxxId", getYpxxId())
            .append("ypName", getYpName())
            .append("ypBm", getYpBm())
            .append("gjz", getGjz())
            .append("dw", getDw())
            .append("hsl", getHsl())
            .append("cfJg", getCfJg())
            .append("kcl", getKcl())
            .append("yjz", getYjz())
            .append("zt", getZt())
            .append("ypLx", getYpLx())
            .append("cfLx", getCfLx())
            .append("scCj", getScCj())
            .append("idWhere", getIdWhere())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
